package com.gy.education.home.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;

import com.gy.education.R;

import java.util.List;

/**
 * 作者：gy on 16/7/14
 * 说明：学业证书
 */
public class CertificateAdapter extends BaseAdapter {

    private Context context;
    private List<String> list;

    public CertificateAdapter(Context context, List<String> list){
        this.context = context;
        this.list = list;
    }

    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int i) {
        return null;
    }

    @Override
    public long getItemId(int i) {
        return 0;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        view = View.inflate(context, R.layout.adapter_certificate,null);
        ImageView img = (ImageView) view.findViewById(R.id.adapter_certificate_img);
        return view;
    }
}
